package com.cloudlead.dictionaryService;
import com.cloudlead.common.lang.annotation.Label;
import com.cloudlead.common.lang.annotation.RemoteService;
import com.cloudlead.common.lang.persistence.EasyuiGridData;
import com.cloudlead.common.lang.persistence.Page;
import com.cloudlead.dictionaryService.vo.*;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created by Administrator on 2015/10/29.
 */
@RemoteService
public interface ManagementService {
    public EasyuiGridData companyList(RegCompanyVo regCompanyVo,@Label("每页条数")int rows,@Label("页码")int page);
    public Object companyInfo(@Label("公司ID")@NotNull String id);
    public Object audit(@Label("公司ID")@NotNull String companyId);
    public EasyuiGridData shipRouteList(BaseVoyageVo baseVoyageVo,int rows,int page);
    public EasyuiGridData logList(TbLogVo tbLogVo,int rows,int page);
    public EasyuiGridData importLog(TbImportLogVo tbImportLogVo,int rows,int page);
    public EasyuiGridData mailLog(TbMailLogVo tbMailLogVo,int rows,int page);
    public EasyuiGridData baseDock(BaseDockVo baseDockVo,int rows,int page);
    public EasyuiGridData baseDoor(BaseDoorVo baseDoorVo,int rows,int page);
    public EasyuiGridData WechatloglList(WechatlogVo wechatlogVo,int rows,int page);
    public void delCompany(@Label("公司ID")@NotNull String companyId);
    public void delDock(@Label("码头ID")@NotNull String id);
    public EasyuiGridData baseShipRoute(BaseShipRouteVo vo,int rows,int page);
    public void delShipRoute(String id);
    public String createShipRoute(BaseShipRouteVo vo);
    public String editShipRoute(BaseShipRouteVo vo);
    public List<BasePortVo> findAllPort(BasePortVo vo);
    public List findOnePort(BasePortVo vo);
    public EasyuiGridData basePort(BasePortVo vo,int rows,int page);
    public void delBasePort(String id);
    public String createPort(BasePortVo vo);
    public String editPort(BasePortVo vo);
}
